@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
*{margin: 0;padding: 0;list-style-type: none;text-decoration: none;}
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px 35px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}
.zizhilist{margin: 0;padding: 0;}
.zizhilist ul{margin: 0;padding: 0;display: flex;flex-direction: row;flex-wrap: wrap;}
.zizhilist ul li{height: 290px;height:30vh; margin: 0;padding: 0;list-style-type: none;text-decoration: none;box-shadow: 0px 0px 10px #ccc;width: 23%;margin: 1%;background: url(../image/zzbg.png);padding: 20px;background-size: 100% 100%;position: relative;}
.zizhilist ul li el-image,.zizhilist ul li .el-image{width: 100%;height: 100%;}
.zizhilist ul li:hover .hoverbox{opacity: 1;}
.hoverbox{opacity: 0; position: absolute;width: 100%;height: 100%;top: 0;left: 0;background: rgba(25,42,74,0.75);transition: all 0.3s;}
.hoverbox h2{font-size: 20px;text-align: center;font-weight: normal;color: #fff;position: relative;margin: 0;margin-top: 50px;margin-bottom: 65px;margin-top: 5vh;margin-bottom: 7vh;}
.hoverbox h2:after{position: absolute;bottom: -30px;left: 50%;transform: translateX(-50%);content: "";color: #fff;height: 2px;width: 60px;background: #fff;}
.hoverbox .edittool{}
.hoverbox .edittool ul{display: flex;flex-direction: row;padding:0;justify-content: center;}
.hoverbox .edittool ul li{margin: 0;padding: 0; height: auto;box-shadow: none;background: none;margin:0 3%;cursor: pointer;width: auto;display: flex;flex-direction: column;align-items: center;}
.hoverbox .edittool ul li img{width: 3vw;height: auto;display: block;min-width: 30px;}
.hoverbox .edittool ul li .hoverimg2{display: none;}
.hoverbox .edittool ul li:hover .hoverimg1{display: none;}
.hoverbox .edittool ul li:hover .hoverimg2{display: block;}
.hoverbox .edittool ul li p{text-align: center;color: #fff;margin: 0;margin-top: 25px;margin-top: 2.5vh;}
// 资质图谱
.myswiper{overflow: auto;}
.myswiper .swiper-slide{padding: 20px;box-sizing: border-box;}
.myswiper .swiper-slide .myswiper-slide{box-shadow: 0px 0px 10px #ababab;transition: all 0.3s;}
.myswiper .swiper-slide:nth-child(1) .myswiper-slide{background: #ef6a6a;color: #fff;}
.myswiper .swiper-slide:nth-child(2) .myswiper-slide{background: #7FBDE9;color: #fff;}
.myswiper .swiper-slide:nth-child(3) .myswiper-slide{background: #F1C47E;color: #fff;}
.myswiper .swiper-slide:nth-child(4) .myswiper-slide{background: #65D499;color: #fff;}
.myswiper .swiper-slide:nth-child(5) .myswiper-slide{background: #ef6a6a;color: #fff;}
.myswiper .swiper-slide:nth-child(6) .myswiper-slide{background: #7FBDE9;color: #fff;}
.myswiper .swiper-slide:nth-child(7) .myswiper-slide{background: #F1C47E;color: #fff;}
.myswiper .swiper-slide:nth-child(8) .myswiper-slide{background: #65D499;color: #fff;}
.myswiper .swiper-slide:nth-child(9) .myswiper-slide{background: #ef6a6a;color: #fff;}
.myswiper .swiper-slide:nth-child(10) .myswiper-slide{background: #7FBDE9;color: #fff;}
.myswiper .swiper-slide:nth-child(11) .myswiper-slide{background: #F1C47E;color: #fff;}
.myswiper .swiper-slide:nth-child(12) .myswiper-slide{background: #65D499;color: #fff;}
.myswiper .swiper-slide .myswiper-slide:hover,.myswiper .swiper-slide .myslideon{box-shadow: 0px 10px 10px #ababab;}
.myswiper .swiper-slide .myswiper-slide{background: #fff;text-align: center;border-radius: 10px;padding: 30px 0;cursor: pointer;}
.myswiper .swiper-slide .myswiper-slide h2{font-weight: normal;margin: 0;font-size: 22px;}
.myswiper .swiper-slide .myswiper-slide .tpbox{text-align: center;}
.myswiper .swiper-slide .myswiper-slide .tpbox img{margin: auto;max-width: 100%;}
.myswiper .swiper-slide .myswiper-slide .tpbox .img1{display: block;}
.myswiper .swiper-slide .myswiper-slide .tpbox .img2{display: none;}
// .myswiper .swiper-slide .myswiper-slide:hover .tpbox .img1,.myswiper .swiper-slide .myslideon .tpbox .img1{display: none;}
// .myswiper .swiper-slide .myswiper-slide:hover .tpbox .img2,.myswiper .swiper-slide .myslideon .tpbox .img2{display: block;}
.mylist{background: #fff;padding: 65px 30px;box-sizing: border-box;padding-bottom: 30px;margin: 20px;border-radius: 10px;box-shadow:0px 0px 20px #eaeaea;}
.mylist ul{display: flex;flex-direction: row;flex-wrap: wrap;}
.mylist ul li{width: 22%;margin: 0 1.5%; text-align: center;margin-bottom: 35px;background: #E2EBFA;border-radius: 10px;}
.mylist ul li img{max-width: 100%;transition: all 0.3s;}
.mylist ul li h2{font-size: 18px;color: #333;font-weight: normal;transition: all 0.3s;}
.mylist ul li a{display: block;width: 100%;height: 100%;padding: 35px 0;}
.mylist ul li:hover{background: #c9ddff;}
.mylist ul li:hover img{transform:scale(1.2,1.2);}
.mylist ul li:hover h2{font-weight: bold;transform:scale(1.1,1.1);}

.el-dialog__body{max-height: 70vh;overflow: auto;}
.kbj{top: 0;left: 0;position: absolute;width: 100%;height: 100%;background: rgba(0,0,0,0);z-index: 3;}
.allselect{font-size: 14px;color: #606266;background: #fff;line-height: 35px;padding-left: 24px;cursor: pointer;}
.allselect:hover{background: #F5F7FA;}
.hasTagsView {
  .app-main {
    min-height: calc(100vh - 100px - 50px) !important;
    height: calc(100vh - 100px - 50px) !important;
  }
}
.tags-view-container{height: 50px !important;line-height: 50px !important;}
.app-breadcrumb.el-breadcrumb {line-height: inherit !important;}
.el-dialog,.el-message-box{max-width: 80% !important;}
.avatarck{height:300px;position: relative;}
.el-tree-node__content{height: 35px !important;}
// 移动端适配↓
@media screen and(max-width:1200px){
  .zizhilist ul li{width: 48%;margin: 1%;}
  .app-container{padding: 20px;}
  .app-breadcrumb.el-breadcrumb{margin-left: 25px !important;}
}
@media screen and(max-width:750px){
  .zizhilist ul li{width: 100%;margin: 2% 0;height: 33vh;}
  .app-container{padding: 10px;}
  .headtitle{margin-left: auto;margin-right: auto;font-size: 20px !important;}
  .navbar{height: 60px !important;}
  .sidebar-logo-container{height: 60px !important;}
  .app-breadcrumb.el-breadcrumb{margin-left: 15px !important;}
  .sidebar-logo-container .sidebar-logo-link .sidebar-logo{height: 25px !important;}
  .dashboard-editor-container{padding: 10px !important;}
  .tags-view-container{height: 35px !important;line-height: 35px !important;border-bottom: 1px #ddd solid;}
  .hasTagsView {
    .app-main {
      min-height: calc(100vh - 60px - 35px) !important;
      height: calc(100vh - 60px - 35px) !important;
    }
  }
  .navbar .right-menu .avatar-container .avatar-wrapper .user-avatar{width: 30px;height: 30px;}
  .avatarck{height:240px;}
  .xsmtb10{margin: 10px 0;}
  .xsmt10{margin-top: 10px;}
  // #app .main-container{background: #fff !important;}
  .mmform .el-form-item{margin-bottom: 5px;}
  .el-pagination__total,.el-pagination__jump{display: none !important;}
  .el-date-editor--daterange.el-input, .el-date-editor--daterange.el-input__inner, .el-date-editor--timerange.el-input, .el-date-editor--timerange.el-input__inner {
      width: 100%;
  }
  .el-date-range-picker .el-picker-panel__body {
          min-width: auto;
          max-width: 100vw;
          position: fixed;
          left: 0;
          top: 10vh;
          height: 90vh;
          overflow-y: auto;
  }
  .el-date-range-picker__content{width: 100% !important;border: 1px solid #e4e4e4 !important;background: #fff !important;}
  .el-pager .number,.el-pager .more{display: none;}
  .el-pager .active{display: inline-block;}
  .el-table .cell.el-tooltip{white-space: normal;}
  .mylist{padding: 20px;margin-top: 0;}
  .mylist ul li{width: 47%;margin: 0 1.5%;margin-bottom: 10px;}
  .mylist ul li a{padding: 10px 0;}
}
